package com.sf.route;

import com.jfinal.config.Routes;
import com.sf.controller.cms.*;
import com.sf.controller.tools.ToolsUrlController;

/**
 * 
 * @author FengDuqing
 *	通用管理平台的路由规则
 */
public class CmsRoute extends Routes{
	
	@Override
	public void config() {
		add("/cms", CmsIndexController.class);
		add("/cms/login", CmsLoginController.class);
		add("/cms/menu", CmsMenuController.class);
        add("/cms/nav", CmsNavController.class);
		add("/cms/url", ToolsUrlController.class);
		add("/cms/article", CmsArticleController.class);
		add("/cms/apidocs", CmsApidocController.class);
		add("/cms/webconfig", CmsWebConfigController.class);
	}

}
